SUMMARY = "IMAPFilter is a mail filtering utility that processes mailboxes based on IMAP queries"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=db3b99f230f9758fd77e4a0654e2266d"

SRC_URI = "git://github.com/lefcha/imapfilter.git;branch=master;protocol=https \
           file://ldflags.patch \
"
SRCREV = "2bbc12962756699cad8882c1569de7bff6db9e15"

S = "${WORKDIR}/git"

DEPENDS= "openssl lua libpcre2"

EXTRA_OEMAKE:append = " PREFIX=${prefix}"

do_install(){
    oe_runmake DESTDIR=${D} install

    # No need for manuals at this point, MANDIR is hardcoded to depend on prefix
    rm -rf ${D}${prefix}/man
}

ASNEEDED = ""
